package com.chen.authority.service;

import com.chen.authority.common.response.Response;
import com.chen.authority.common.response.SingleResponse;
import com.chen.authority.model.dto.LoginDto;
import com.chen.authority.model.dto.ResetPwdDto;

import java.util.Map;

/**
 * 认证鉴权service接口
 *
 * @author chengy
 * @date 2022/11/24
 */
public interface LoginService {

    SingleResponse<Map<Object, Object>> createPicCaptcha();

    Response sendEmailCaptcha(String email);

    Response userLogin(LoginDto dto);

    Response resetPwdByCondition(ResetPwdDto dto);

}
